//
//  HUContractModel.m
//  获得手机通讯录
//
//  Created by hu on 16/8/2.
//  Copyright © 2016年 hu. All rights reserved.
//

#import "HUContractModel.h"

@implementation HUContractModel
@end

@implementation HUContactNameObject

-(NSString *)name
{
    //除nil处理
    self.middleName = (self.middleName) ? self.middleName : @"";
    self.givenName = (self.givenName) ? self.givenName : @"";
    self.familyName = (self.familyName) ? self.familyName : @"";
    
    
    return [[self.familyName stringByAppendingString:self.middleName] stringByAppendingString:self.givenName];
}

@end

@implementation HUContactPhoneObject
@end